import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/page/Index'
import About from '@/components/page/About'

Vue.use(Router)

const router = new Router({
  routes: [{
    path: '/',
    name: 'Index',
    component: Index
  }, {
    path: '/about',
    name: 'About',
    component: About
  }]
})

// 输出router
export default router
